#include "Person.h"
int Person::Eat()
{
	std::cout << "Eat" << std::endl;
	return 0;
}
void Person::Sit()
{
	this->age=25;
}
void Person::SetJob(Job job)
{
	this->job = job;
	std::cout << "set job" << job<< std::endl;
}

void Teacher::Call()
{
	std::cout <<"te:"<< this->age<<"st:"<< this->student.age << std::endl;
}

void TeacherP::Call()
{
	std::cout << "te:" << this->age<<"\n"<< "st:" << this->student->age << std::endl;
}